home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19951130-19960209 / 000022_news@columbia.edu_Sun Dec 3 04:19:04 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA10057
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun>); Mon, 4 Dec 1995 16:09:40 -0500
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.6.12/8.6.12) id QAA23995 for kermit.misc@watsun; Mon, 4 Dec 1995 16:09:37 -0500
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!cuhknntp!hpg30a.csc.cuhk.hk!agate!dog.ee.lbl.gov!overload.lbl.gov!lll-winken.llnl.gov!decwrl!tribune.usask.ca!news.uregina.ca!meena.cc.uregina.ca!vogt12
  5. From: vogt12@meena.cc.uregina.ca
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Downloading a file directly from the host's Web-browser
  8. Date: 3 DEC 95 04:19:04 GMT
  9. Organization: MIT PLASMA FUSION CENTER
  10. Lines: 45
  11. Message-Id: <3DEC95.04190434@meena.cc.uregina.ca>
  12. Nntp-Posting-Host: meena.cc.uregina.ca
  13. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  14.  
  15. A few years ago I bought MS-Kermit 3.0 complete with the book "Using MS-DOS
  16. Kermit", first edition, 1990. I use it to connect with DEC & IBM mainframes and
  17. I only run DOS 3.3; so that after I created some "take" files with ample defi-
  18. nitions for DEC VT & IBM 3270 special keys (I still don't know all of 'em!),
  19. this version of Kermit has always met all my needs. Until now:
  20.         One of two VT-type Web-browsers on the VMS-running VAX here goes by the
  21. name of "VTWWW". This is its name as defined in a DCL global symbol. Its real
  22. name may be something else. Any guesses? That symbol disappeared yesterday, and
  23. I might find this Web-browser's directory if I know its real name. Unlike Lynx,
  24. it uses typed numbers instead of the right-arrow key to follow a link. Anyway,
  25. it has a very convenient feature provided your Kermit is new enough to exploit
  26. it. (Mine isn't.) It gives you the option of printing via CKermit the current
  27. file on your PC's printer. You don't have to do anything to make this happen!
  28. It just happens, and the screen continues to display the host session. Further-
  29. more, if you escape and issue "SET PRINTER file.nam" to the local Kermit, the
  30. Web-browser's file will go to a DOS file instead of to PRN.
  31.         But my 3.0 Kermit lacks the SET PRINTER feature. To get around this, I
  32. installed a TSR, "VPRINT.COM", that hooks Print BIOS Int 17h to redirect print
  33. jobs to a disk file. Then with Kermit going, I asked VTWWW to "print" an .html
  34. to my PC. It worked; the .html appeared on my DOS disk as a text file, spaced
  35. like the original but with no mark-up stuff in it. So far fine. But when I went
  36. back and tried to bring down a *binary* .ZIP file this way, the job was termi-
  37. nated after a few (dozen) characters. The incomplete file that turned up on my
  38. PC when typed looked as it did when it was displayed by the Web-browser on the
  39. host.
  40.         I eliminated VPRINT.COM as the cause of the problem. It definitely can
  41. handle binary files without modifying them in the smallest way if so requested.
  42. I also compared the short corrupted binary file received with an intact copy.
  43. The damage is extensive, but I noticed one thing: the printing Kermits change
  44. nulls (ASCII 0) into CR/LF's (etc). So I tried an experiment: I set the VAX's
  45. term to "/DEV=UNKNOWN /NOANSI" and the PC's term type to "NONE". The attempt
  46. failed exactly as before.
  47.         Reading a newer version of KERMIT.HLP, I think I know how VTWWW initi-
  48. ates the output to PRN: by issuing the sequence ESC [ ? i 5 to start printing
  49. and ESC [ ? i 4 to stop. But these are for line-by-line or text-mode printing.
  50. For binary-mode printing of all characters, the sequences are ESC [ i 5 and
  51. ESC i 4. Note the absence of the the "?"
  52.         Do you agree with me that the VTWWW program on the VAX was not set up
  53. to issue the second control pair and was not even able perhaps to tell a binary
  54. file from a text one? Or does the problem lie elsewhere, like in a Kermit quirk
  55. that can only be solved by upgrading from version 3.0 to 3.14?
  56.         And what is the real name for the VMS Web-browser whose alias is apt to
  57. be "VTWWW"? Your answers to these questions will be highly appreciated, and
  58. when I succeed in solving this problem I'll tell you how I did it with your help
  59.                                                 Yours truly,    Warren